from pydantic import BaseModel, Field

import typing as T


class UserKnowledgeBaseDTO(BaseModel):
    userId: int = Field(description="用户id")
    alias: T.Optional[str] = Field(default=None, description="用户知识库名称")
